/**
 * 配置编译环境和线上环境之间的切换
 * 
 * baseUrl: 域名A地址
 * requestApi: 域名B地址
 * routerMode: 路由模式
 * imgBaseUrl: 图片所在域名地址
 * 
 */

let baseUrl = ''
let imgBaseUrl = ''
let requestApi = ''

if (process.env.NODE_ENV === 'development') {
  baseUrl = '/api'
  requestApi = '/api2'
} else if (process.env.NODE_ENV === 'production') {
  baseUrl = 'http://timemeetyou.com:8889/api/private/v1/'
  requestApi = 'https://api.tianapi.com/txapi'
}

export {
  baseUrl,
  requestApi,
  imgBaseUrl
}
